
<div class="searchBar">
    <table class="searchContent">
        <tr>
            <td>
            {% if start %}
                <input name="start" class="date textInput readonly valid" size=8 readonly="true" type="text" value="{{start}}">:
            {% end %}

            {% if date %}
                <input name="date" class="date textInput readonly valid" size=8 readonly="true" type="text" value="{{date}}">
            </td>
            {% end %}
            <td> 书城：
                <select name="platform_id">
                    <option value="4" {% if platform_id == 4 %}selected{% end %}>四版</option>
                    <option value="5" {% if platform_id == 5 %}selected{% end %}>五版</option>
                    <option value="6" {% if platform_id == 6 %}selected{% end %}>六版</option>
                </select>
            </td>
            <td> 平台：
            <select name="run_id">
                <option value="0" {% if run_id == 0 %}selected{% end %}>不限</option>
                {% for i in run_list %}
                <option value="{{i['run_id']}}" {% if run_id == i['run_id'] %}selected{% end %}>{{i['run_name']}}</option>
                {% end %}
            </select>
            </td>
            <td> 渠道ID：<input type="text" name="partner_id" size="8" value="{{partner_id}}"/> </td>
            <td> ireader：
                <select name="version_name">
                    <option value="">不限</option>
                    <option value="ireader_1__6" {% if version_name=='ireader_1.6' %}selected{% end %}>1.6</option>
                    <option value="ireader_1__7" {% if version_name=='ireader_1.7' %}selected{% end %}>1.7</option>
                    <option value="ireader_1__8" {% if version_name=='ireader_1.8' %}selected{% end %}>1.8</option>
                    <option value="ireader_2__0" {% if version_name=='ireader_2.0' %}selected{% end %}>2.0</option>
                    <option value="ireader_2__1" {% if version_name=='ireader_2.1' %}selected{% end %}>2.1</option>
                    <option value="ireader_2__2" {% if version_name=='ireader_2.2' %}selected{% end %}>2.2</option>
                    <option value="ireader_2__3" {% if version_name=='ireader_2.3' %}selected{% end %}>2.3</option>
                    <option value="ireader_2__4" {% if version_name=='ireader_2.4' %}selected{% end %}>2.4</option>
                    <option value="ireader_2__6" {% if version_name=='ireader_2.6' %}selected{% end %}>2.6</option>
                    <option value="ireader_2__7" {% if version_name=='ireader_2.7' %}selected{% end %}>2.7</option>
                    <option value="ireader_3__0" {% if version_name=='ireader_3.0' %}selected{% end %}>3.0</option>
                    <option value="ireader_3__1" {% if version_name=='ireader_3.1' %}selected{% end %}>3.1</option>
                    <option value="ireader_3__2" {% if version_name=='ireader_3.2' %}selected{% end %}>3.2</option>
                </select>
            </td>
            <td> 机型：<input type="text" name="product_name"  size="8" value="{{product_name}}"/> </td>
            <td>
                {% if unique is not None %} 
                <div style="float:left;margin:5px 5px 0 0;">
                <input name="unique" value="1" type="checkbox" {% if unique %}checked{% end %}>精确
                </div>
                {% end %}
                <div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div>
            </td>
        </tr>
    </table>
</div>

